#include <stdio.h>
#include <stdlib.h>

int main()
{
    char n;
    scanf("%c",&n);
    printf("    %c\n",n);
    printf("   %c %c\n",n,n);
    printf("  %c   %c\n",n,n);
    printf(" %c     %c\n", n,n);
    printf("%c       %c\n",n,n);
    printf(" %c     %c\n", n,n);
    printf("  %c   %c\n",n,n);
    printf("   %c %c\n",n,n);
    printf("    %c",n);
    return 0;
}